package com.shop.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Product {

	private long id;
	private String name;
	private BigDecimal price;
	private Date buildDate;
	private boolean isDelete;

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Date getBuildDate() {
		return buildDate;
	}
	public void setBuildDate(Date buildDate) {
		this.buildDate = buildDate;
	}
	public boolean isDelete() {
		return isDelete;
	}
	public void setDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}
	@Override
	public String toString() {
		return "Product [id=" + id + ", name=" + name + ", price=" + price + ", buildDate=" + buildDate + ", isDelete="
				+ isDelete + "]";
	}
	public Product(long id, String name, BigDecimal price, Date buildDate, boolean isDelete) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.buildDate = buildDate;
		this.isDelete = isDelete;
	}
	public Product(String name, BigDecimal price, Date buildDate, boolean isDelete) {
		super();
		this.name = name;
		this.price = price;
		this.buildDate = buildDate;
		this.isDelete = isDelete;
	}
	public Product() {
		super();
	}
	
	
	
}
